<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>v_hdmitx: xv_hdmitx.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">v_hdmitx
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xv__hdmitx_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xv_hdmitx.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This is the main file for Xilinx HDMI TX core. </p>
<p>Please see <a class="el" href="xv__hdmitx_8h.html" title="This is the main header file for Xilinx HDMI TX core. ">xv_hdmitx.h</a> for more details of the driver.</p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who    Date     Changes
<hr/>

1.00         10/07/15 Initial release.
1.01  yh     15/01/16 Add 3D Support
1.02  MG     09/03/16 Added XV_HdmiTx_SetHdmiMode and XV_HdmiTx_SetDviMode
1.03  YH     25/07/16 Used UINTPTR instead of u32 for BaseAddress
                      XV_HdmiTx_CfgInitialize
1.04  YH     27/07/16 Remove checking VideoMode&lt;(XVIDC_VM_NUM_SUPPORTED));
1.05  YH     17/08/16 Add XV_HdmiTx_SetAxiClkFreq
                      Move XV_HdmiTx_DdcInit to XV_HdmiTx_SetAxiClkFreq
                      squash unused variable compiler warning
1.06  MG     07/03/17 Updated XV_HdmiTx_Auxsend with packet ready check
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:acfeb8c295991a88031817404dd4135f3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#acfeb8c295991a88031817404dd4135f3">XV_HdmiTx_CfgInitialize</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr, <a class="el" href="struct_x_v___hdmi_tx___config.html">XV_HdmiTx_Config</a> *CfgPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:acfeb8c295991a88031817404dd4135f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the HDMI TX core.  <a href="#acfeb8c295991a88031817404dd4135f3">More...</a><br /></td></tr>
<tr class="separator:acfeb8c295991a88031817404dd4135f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fed91323d21a830029d3cb79af7afeb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a0fed91323d21a830029d3cb79af7afeb">XV_HdmiTx_SetAxiClkFreq</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr, u32 ClkFreq)</td></tr>
<tr class="memdesc:a0fed91323d21a830029d3cb79af7afeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the AXI4-Lite Clock Frequency.  <a href="#a0fed91323d21a830029d3cb79af7afeb">More...</a><br /></td></tr>
<tr class="separator:a0fed91323d21a830029d3cb79af7afeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5d2bcd25ed4a775b87e716ad8d2a8d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#ab5d2bcd25ed4a775b87e716ad8d2a8d6">XV_HdmiTx_SetHdmiMode</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:ab5d2bcd25ed4a775b87e716ad8d2a8d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the core into HDMI mode.  <a href="#ab5d2bcd25ed4a775b87e716ad8d2a8d6">More...</a><br /></td></tr>
<tr class="separator:ab5d2bcd25ed4a775b87e716ad8d2a8d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dc5aa725b963236382283b2c4810dc1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a6dc5aa725b963236382283b2c4810dc1">XV_HdmiTx_SetDviMode</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a6dc5aa725b963236382283b2c4810dc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the core into DVI mode.  <a href="#a6dc5aa725b963236382283b2c4810dc1">More...</a><br /></td></tr>
<tr class="separator:a6dc5aa725b963236382283b2c4810dc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30b8f33b34025333a39bcb12961402af"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a30b8f33b34025333a39bcb12961402af">XV_HdmiTx_Clear</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a30b8f33b34025333a39bcb12961402af"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clear the HDMI TX variables and sets it to the defaults.  <a href="#a30b8f33b34025333a39bcb12961402af">More...</a><br /></td></tr>
<tr class="separator:a30b8f33b34025333a39bcb12961402af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a748570ddedd1b3abe8f546d090b76197"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a748570ddedd1b3abe8f546d090b76197">XV_HdmiTx_LookupVic</a> (XVidC_VideoMode VideoMode)</td></tr>
<tr class="memdesc:a748570ddedd1b3abe8f546d090b76197"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides video identification code of video mode.  <a href="#a748570ddedd1b3abe8f546d090b76197">More...</a><br /></td></tr>
<tr class="separator:a748570ddedd1b3abe8f546d090b76197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a588fe097262642349aa193a0665ff81f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a588fe097262642349aa193a0665ff81f">XV_HdmiTx_Scrambler</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a588fe097262642349aa193a0665ff81f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function controls the scrambler.  <a href="#a588fe097262642349aa193a0665ff81f">More...</a><br /></td></tr>
<tr class="separator:a588fe097262642349aa193a0665ff81f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18857793bd92eafef197b339cf1f956e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a18857793bd92eafef197b339cf1f956e">XV_HdmiTx_ClockRatio</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a18857793bd92eafef197b339cf1f956e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function controls the TMDS clock ratio.  <a href="#a18857793bd92eafef197b339cf1f956e">More...</a><br /></td></tr>
<tr class="separator:a18857793bd92eafef197b339cf1f956e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe6f171ef3d393c4653b17837c5a105a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#afe6f171ef3d393c4653b17837c5a105a">XV_HdmiTx_DetectHdmi20</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:afe6f171ef3d393c4653b17837c5a105a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function detects connected sink is a HDMI 2.0/HDMI 1.4 sink device and sets appropriate flag in the TX stream.  <a href="#afe6f171ef3d393c4653b17837c5a105a">More...</a><br /></td></tr>
<tr class="separator:afe6f171ef3d393c4653b17837c5a105a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03c54fa48f7cb4690a3bf5446a4d5d85"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a03c54fa48f7cb4690a3bf5446a4d5d85">XV_HdmiTx_ShowSCDC</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a03c54fa48f7cb4690a3bf5446a4d5d85"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function shows the sinks SCDC registers.  <a href="#a03c54fa48f7cb4690a3bf5446a4d5d85">More...</a><br /></td></tr>
<tr class="separator:a03c54fa48f7cb4690a3bf5446a4d5d85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae42733f7ec1fcf5df4f6d537b588bab6"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#ae42733f7ec1fcf5df4f6d537b588bab6">XV_HdmiTx_SetStream</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr, XVidC_VideoMode VideoMode, XVidC_ColorFormat ColorFormat, XVidC_ColorDepth Bpc, XVidC_PixelsPerClock Ppc, XVidC_3DInfo *Info3D)</td></tr>
<tr class="memdesc:ae42733f7ec1fcf5df4f6d537b588bab6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the HDMI TX stream parameters.  <a href="#ae42733f7ec1fcf5df4f6d537b588bab6">More...</a><br /></td></tr>
<tr class="separator:ae42733f7ec1fcf5df4f6d537b588bab6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe6e4feed643a46f8c5a09494d2e2874"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#abe6e4feed643a46f8c5a09494d2e2874">XV_HdmiTx_SetPixelRate</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:abe6e4feed643a46f8c5a09494d2e2874"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the pixel rate at output.  <a href="#abe6e4feed643a46f8c5a09494d2e2874">More...</a><br /></td></tr>
<tr class="separator:abe6e4feed643a46f8c5a09494d2e2874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb0cde0fed5637779f430ca6eb2a9199"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#abb0cde0fed5637779f430ca6eb2a9199">XV_HdmiTx_SetSampleRate</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr, u8 SampleRate)</td></tr>
<tr class="memdesc:abb0cde0fed5637779f430ca6eb2a9199"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the sample rate at output.  <a href="#abb0cde0fed5637779f430ca6eb2a9199">More...</a><br /></td></tr>
<tr class="separator:abb0cde0fed5637779f430ca6eb2a9199"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8eb6378fdb4a48a22fdedb89cc3702a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#aa8eb6378fdb4a48a22fdedb89cc3702a">XV_HdmiTx_SetColorFormat</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:aa8eb6378fdb4a48a22fdedb89cc3702a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the color format.  <a href="#aa8eb6378fdb4a48a22fdedb89cc3702a">More...</a><br /></td></tr>
<tr class="separator:aa8eb6378fdb4a48a22fdedb89cc3702a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9271b92c3193e1ce46a2b610080c6f06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a9271b92c3193e1ce46a2b610080c6f06">XV_HdmiTx_SetColorDepth</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a9271b92c3193e1ce46a2b610080c6f06"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the color depth.  <a href="#a9271b92c3193e1ce46a2b610080c6f06">More...</a><br /></td></tr>
<tr class="separator:a9271b92c3193e1ce46a2b610080c6f06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fe50d870f063d85a274d2cbe9dee549"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a3fe50d870f063d85a274d2cbe9dee549">XV_HdmiTx_DdcInit</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr, u32 Frequency)</td></tr>
<tr class="memdesc:a3fe50d870f063d85a274d2cbe9dee549"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prepares TX DDC peripheral to use.  <a href="#a3fe50d870f063d85a274d2cbe9dee549">More...</a><br /></td></tr>
<tr class="separator:a3fe50d870f063d85a274d2cbe9dee549"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdb511167dc499eacf28789225e83a24"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#abdb511167dc499eacf28789225e83a24">XV_HdmiTx_DdcGetAck</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:abdb511167dc499eacf28789225e83a24"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the acknowledge flag.  <a href="#abdb511167dc499eacf28789225e83a24">More...</a><br /></td></tr>
<tr class="separator:abdb511167dc499eacf28789225e83a24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace17bdbb13a83051c81e70162707c1bb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#ace17bdbb13a83051c81e70162707c1bb">XV_HdmiTx_DdcWaitForDone</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:ace17bdbb13a83051c81e70162707c1bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function waits for the done flag to be set.  <a href="#ace17bdbb13a83051c81e70162707c1bb">More...</a><br /></td></tr>
<tr class="separator:ace17bdbb13a83051c81e70162707c1bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e0fa58d0c4b103aaa0493f875b7a8fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a4e0fa58d0c4b103aaa0493f875b7a8fb">XV_HdmiTx_DdcWriteCommand</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr, u32 Cmd)</td></tr>
<tr class="memdesc:a4e0fa58d0c4b103aaa0493f875b7a8fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function writes data into the command fifo.  <a href="#a4e0fa58d0c4b103aaa0493f875b7a8fb">More...</a><br /></td></tr>
<tr class="separator:a4e0fa58d0c4b103aaa0493f875b7a8fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c78e41a57fd48c1a392bc7448b93488"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a8c78e41a57fd48c1a392bc7448b93488">XV_HdmiTx_DdcReadData</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a8c78e41a57fd48c1a392bc7448b93488"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads data from the data fifo.  <a href="#a8c78e41a57fd48c1a392bc7448b93488">More...</a><br /></td></tr>
<tr class="separator:a8c78e41a57fd48c1a392bc7448b93488"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a852ea29dc77f7bff5509cbf7fe935ede"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a852ea29dc77f7bff5509cbf7fe935ede">XV_HdmiTx_DdcWrite</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr, u8 Slave, u16 Length, u8 *Buffer, u8 Stop)</td></tr>
<tr class="memdesc:a852ea29dc77f7bff5509cbf7fe935ede"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function writes data from DDC peripheral from given slave address.  <a href="#a852ea29dc77f7bff5509cbf7fe935ede">More...</a><br /></td></tr>
<tr class="separator:a852ea29dc77f7bff5509cbf7fe935ede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f62badd2afc029e5e4967644a37e5f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a09f62badd2afc029e5e4967644a37e5f">XV_HdmiTx_DdcRead</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr, u8 Slave, u16 Length, u8 *Buffer, u8 Stop)</td></tr>
<tr class="memdesc:a09f62badd2afc029e5e4967644a37e5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads data from DDC peripheral from given slave address.  <a href="#a09f62badd2afc029e5e4967644a37e5f">More...</a><br /></td></tr>
<tr class="separator:a09f62badd2afc029e5e4967644a37e5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae75f2ab194a44b9f67b7fa9d4545cb57"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#ae75f2ab194a44b9f67b7fa9d4545cb57">XV_HdmiTx_AuxSend</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:ae75f2ab194a44b9f67b7fa9d4545cb57"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function transmits the infoframes generated by the processor.  <a href="#ae75f2ab194a44b9f67b7fa9d4545cb57">More...</a><br /></td></tr>
<tr class="separator:ae75f2ab194a44b9f67b7fa9d4545cb57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b2224de9eedafa13c184cb0d680f891"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a0b2224de9eedafa13c184cb0d680f891">XV_HdmiTx_DebugInfo</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a0b2224de9eedafa13c184cb0d680f891"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints stream and timing information on STDIO/Uart console.  <a href="#a0b2224de9eedafa13c184cb0d680f891">More...</a><br /></td></tr>
<tr class="separator:a0b2224de9eedafa13c184cb0d680f891"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1b9824b19f5af7b841f52d797a3b0fc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#aa1b9824b19f5af7b841f52d797a3b0fc">XV_HdmiTx_IsStreamScrambled</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:aa1b9824b19f5af7b841f52d797a3b0fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides status of the stream.  <a href="#aa1b9824b19f5af7b841f52d797a3b0fc">More...</a><br /></td></tr>
<tr class="separator:aa1b9824b19f5af7b841f52d797a3b0fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7380f59f3609455c91e7090b7fde1504"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a7380f59f3609455c91e7090b7fde1504">XV_HdmiTx_IsStreamConnected</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a7380f59f3609455c91e7090b7fde1504"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides the stream connected status.  <a href="#a7380f59f3609455c91e7090b7fde1504">More...</a><br /></td></tr>
<tr class="separator:a7380f59f3609455c91e7090b7fde1504"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32872739c2a5ea02cf92aadc79aa385f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__hdmitx_8c.html#a32872739c2a5ea02cf92aadc79aa385f">XV_HdmiTx_SetAudioChannels</a> (<a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *InstancePtr, u8 Value)</td></tr>
<tr class="memdesc:a32872739c2a5ea02cf92aadc79aa385f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the active audio channels.  <a href="#a32872739c2a5ea02cf92aadc79aa385f">More...</a><br /></td></tr>
<tr class="separator:a32872739c2a5ea02cf92aadc79aa385f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ae75f2ab194a44b9f67b7fa9d4545cb57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae75f2ab194a44b9f67b7fa9d4545cb57">&#9670;&nbsp;</a></span>XV_HdmiTx_AuxSend()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XV_HdmiTx_AuxSend </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function transmits the infoframes generated by the processor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if infoframes transmitted successfully.</li>
<li>XST_FAILURE if AUX FIFO is full.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx.html#ad9a3408bb742da4f3ae0c50eff9b3c9d">XV_HdmiTx::Aux</a>, <a class="el" href="struct_x_v___hdmi_tx___config.html#aed2a0eebe95b28c31ac48848df2a32bc">XV_HdmiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a7c08db92f62ad7f28dfdfac3561978db">XV_HdmiTx::Config</a>, <a class="el" href="union_x_v___hdmi_tx___aux_header.html#a37cbc78756a1fb7b5beec112cb31db21">XV_HdmiTx_AuxHeader::Data</a>, <a class="el" href="union_x_v___hdmi_tx___aux_data.html#a147164b51235094196f4c7945f0ae52d">XV_HdmiTx_AuxData::Data</a>, <a class="el" href="struct_x_v___hdmi_tx___aux.html#a14d8df8aeaa984669d3d4620e49c8122">XV_HdmiTx_Aux::Data</a>, <a class="el" href="struct_x_v___hdmi_tx___aux.html#a68e64852c1cd79ddfbf71c0ce03909f0">XV_HdmiTx_Aux::Header</a>, <a class="el" href="xv__hdmitx__hw_8h.html#ab4ffb246932642063518c85c719350a0">XV_HDMITX_AUX_DAT_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a471c6374f04e71189d48849b294155de">XV_HDMITX_AUX_STA_FIFO_FUL_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#aadeed071f9ae80ff300b531ea298f42a">XV_HDMITX_AUX_STA_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#ae8dd52aee290be2984731085f7668e44">XV_HDMITX_AUX_STA_PKT_RDY_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a41b837de9bdbba60a15baa46362dd851">XV_HdmiTx_ReadReg</a>, and <a class="el" href="xv__hdmitx__hw_8h.html#a3b74e3c052543284012c23ec717af9d1">XV_HdmiTx_WriteReg</a>.</p>

</div>
</div>
<a id="acfeb8c295991a88031817404dd4135f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfeb8c295991a88031817404dd4135f3">&#9670;&nbsp;</a></span>XV_HdmiTx_CfgInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx___config.html">XV_HdmiTx_Config</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes the HDMI TX core. </p>
<p>This function must be called prior to using the HDMI TX core. Initialization of the HDMI TX includes setting up the instance data and ensuring the hardware is in a quiescent state.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance. </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>points to the configuration structure associated with the HDMI TX core. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the base address of the device. If address translation is being used, then this parameter must reflect the virtual base address. Otherwise, the physical address should be used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if XV_HdmiTx_CfgInitialize was successful.</li>
<li>XST_FAILURE if HDMI TX PIO ID mismatched.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___config.html#aed2a0eebe95b28c31ac48848df2a32bc">XV_HdmiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a7c08db92f62ad7f28dfdfac3561978db">XV_HdmiTx::Config</a>, and <a class="el" href="struct_x_v___hdmi_tx.html#ac1656ae24732ed35b46c51b248fc8029">XV_HdmiTx::ConnectCallback</a>.</p>

</div>
</div>
<a id="a30b8f33b34025333a39bcb12961402af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30b8f33b34025333a39bcb12961402af">&#9670;&nbsp;</a></span>XV_HdmiTx_Clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_Clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function clear the HDMI TX variables and sets it to the defaults. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This is required after a reset or init. </dd></dl>

</div>
</div>
<a id="a18857793bd92eafef197b339cf1f956e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18857793bd92eafef197b339cf1f956e">&#9670;&nbsp;</a></span>XV_HdmiTx_ClockRatio()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_ClockRatio </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function controls the TMDS clock ratio. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if HDMI 2.0</li>
<li>XST_FAILURE if HDMI 1.4</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___stream.html#aff6cb4519db331ab7336ae75c2cc56b8">XV_HdmiTx_Stream::IsHdmi20</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#a2a32c654d0ab9b88f4d19c4985fae1f6">XV_HdmiTx_Stream::TMDSClockRatio</a>, <a class="el" href="xv__hdmitx_8c.html#a09f62badd2afc029e5e4967644a37e5f">XV_HdmiTx_DdcRead()</a>, and <a class="el" href="xv__hdmitx_8c.html#a852ea29dc77f7bff5509cbf7fe935ede">XV_HdmiTx_DdcWrite()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#ae42733f7ec1fcf5df4f6d537b588bab6">XV_HdmiTx_SetStream()</a>.</p>

</div>
</div>
<a id="abdb511167dc499eacf28789225e83a24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abdb511167dc499eacf28789225e83a24">&#9670;&nbsp;</a></span>XV_HdmiTx_DdcGetAck()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_DdcGetAck </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function gets the acknowledge flag. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___config.html#aed2a0eebe95b28c31ac48848df2a32bc">XV_HdmiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a7c08db92f62ad7f28dfdfac3561978db">XV_HdmiTx::Config</a>, <a class="el" href="xv__hdmitx__hw_8h.html#af77c4ab50461a2356e62aaa8fa279bab">XV_HDMITX_DDC_STA_ACK_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#add689faff8e7c346c9d8202355678a22">XV_HDMITX_DDC_STA_OFFSET</a>, and <a class="el" href="xv__hdmitx__hw_8h.html#a41b837de9bdbba60a15baa46362dd851">XV_HdmiTx_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#a09f62badd2afc029e5e4967644a37e5f">XV_HdmiTx_DdcRead()</a>, and <a class="el" href="xv__hdmitx_8h.html#a852ea29dc77f7bff5509cbf7fe935ede">XV_HdmiTx_DdcWrite()</a>.</p>

</div>
</div>
<a id="a3fe50d870f063d85a274d2cbe9dee549"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fe50d870f063d85a274d2cbe9dee549">&#9670;&nbsp;</a></span>XV_HdmiTx_DdcInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_DdcInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Frequency</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prepares TX DDC peripheral to use. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance. </td></tr>
    <tr><td class="paramname">Frequency</td><td>specifies the value that needs to be set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#a0fed91323d21a830029d3cb79af7afeb">XV_HdmiTx_SetAxiClkFreq()</a>.</p>

</div>
</div>
<a id="a09f62badd2afc029e5e4967644a37e5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09f62badd2afc029e5e4967644a37e5f">&#9670;&nbsp;</a></span>XV_HdmiTx_DdcRead()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_DdcRead </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Slave</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>Buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Stop</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function reads data from DDC peripheral from given slave address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance. </td></tr>
    <tr><td class="paramname">Slave</td><td>specifies the slave address from where data needs to be read. </td></tr>
    <tr><td class="paramname">Length</td><td>specifies number of bytes to be read. </td></tr>
    <tr><td class="paramname">Buffer</td><td>specifies a pointer to u8 variable that will be filled with data. </td></tr>
    <tr><td class="paramname">Stop</td><td>specifies the stop flag which is either TRUE/FALSE.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if an acknowledgement received and timeout.</li>
<li>XST_FAILURE if no acknowledgement received.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xv__hdmitx__hw_8h.html#a77fe4475732ac1844f33515e64590bd0">XV_HDMITX_DDC_CMD_RD_TOKEN</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a17aefbf8e9a56021a1fa7321fca45995">XV_HDMITX_DDC_CMD_STP_TOKEN</a>, <a class="el" href="xv__hdmitx__hw_8h.html#ab6901facaddc25fe1f07d0eee6e65908">XV_HDMITX_DDC_CMD_STR_TOKEN</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a0a3e0ff5b586f637f7ce58e37e76a0d4">XV_HDMITX_DDC_CMD_WR_TOKEN</a>, <a class="el" href="xv__hdmitx_8h.html#aa1a91d9e6514be7735a8c4f1e9500118">XV_HdmiTx_DdcDisable</a>, <a class="el" href="xv__hdmitx_8h.html#a0e54ac33c2fe76e4b8fa8c3b79b81bf3">XV_HdmiTx_DdcEnable</a>, <a class="el" href="xv__hdmitx_8c.html#abdb511167dc499eacf28789225e83a24">XV_HdmiTx_DdcGetAck()</a>, <a class="el" href="xv__hdmitx_8h.html#a198784a6298da2d72cad4daffec76a2f">XV_HdmiTx_DdcIntrDisable</a>, <a class="el" href="xv__hdmitx_8c.html#a8c78e41a57fd48c1a392bc7448b93488">XV_HdmiTx_DdcReadData()</a>, <a class="el" href="xv__hdmitx_8c.html#ace17bdbb13a83051c81e70162707c1bb">XV_HdmiTx_DdcWaitForDone()</a>, and <a class="el" href="xv__hdmitx_8c.html#a4e0fa58d0c4b103aaa0493f875b7a8fb">XV_HdmiTx_DdcWriteCommand()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#a18857793bd92eafef197b339cf1f956e">XV_HdmiTx_ClockRatio()</a>, <a class="el" href="xv__hdmitx_8h.html#a588fe097262642349aa193a0665ff81f">XV_HdmiTx_Scrambler()</a>, and <a class="el" href="xv__hdmitx_8h.html#a03c54fa48f7cb4690a3bf5446a4d5d85">XV_HdmiTx_ShowSCDC()</a>.</p>

</div>
</div>
<a id="a8c78e41a57fd48c1a392bc7448b93488"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c78e41a57fd48c1a392bc7448b93488">&#9670;&nbsp;</a></span>XV_HdmiTx_DdcReadData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XV_HdmiTx_DdcReadData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function reads data from the data fifo. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___config.html#aed2a0eebe95b28c31ac48848df2a32bc">XV_HdmiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a7c08db92f62ad7f28dfdfac3561978db">XV_HdmiTx::Config</a>, <a class="el" href="xv__hdmitx__hw_8h.html#afaed19df9105685cea7b51363e5aab38">XV_HDMITX_DDC_CTRL_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a25f1a215971c5370677b19e3b9f16bf2">XV_HDMITX_DDC_CTRL_RUN_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#aafc52187f15507e2b6b6f7438ddb3c8c">XV_HDMITX_DDC_DAT_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#ab39f53e62517e7756ccaae1972635e71">XV_HDMITX_DDC_STA_DAT_EMPTY</a>, <a class="el" href="xv__hdmitx__hw_8h.html#add689faff8e7c346c9d8202355678a22">XV_HDMITX_DDC_STA_OFFSET</a>, and <a class="el" href="xv__hdmitx__hw_8h.html#a41b837de9bdbba60a15baa46362dd851">XV_HdmiTx_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#a09f62badd2afc029e5e4967644a37e5f">XV_HdmiTx_DdcRead()</a>.</p>

</div>
</div>
<a id="ace17bdbb13a83051c81e70162707c1bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace17bdbb13a83051c81e70162707c1bb">&#9670;&nbsp;</a></span>XV_HdmiTx_DdcWaitForDone()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_DdcWaitForDone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function waits for the done flag to be set. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___config.html#aed2a0eebe95b28c31ac48848df2a32bc">XV_HdmiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a7c08db92f62ad7f28dfdfac3561978db">XV_HdmiTx::Config</a>, <a class="el" href="xv__hdmitx__hw_8h.html#afaed19df9105685cea7b51363e5aab38">XV_HDMITX_DDC_CTRL_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a25f1a215971c5370677b19e3b9f16bf2">XV_HDMITX_DDC_CTRL_RUN_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a5c2fcc8362b12929e9069f044c452bd7">XV_HDMITX_DDC_STA_DONE_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#add689faff8e7c346c9d8202355678a22">XV_HDMITX_DDC_STA_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#ab4cc4517f9d2cdacd81718603c6a2308">XV_HDMITX_DDC_STA_TIMEOUT_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a41b837de9bdbba60a15baa46362dd851">XV_HdmiTx_ReadReg</a>, and <a class="el" href="xv__hdmitx__hw_8h.html#a3b74e3c052543284012c23ec717af9d1">XV_HdmiTx_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#a09f62badd2afc029e5e4967644a37e5f">XV_HdmiTx_DdcRead()</a>, and <a class="el" href="xv__hdmitx_8h.html#a852ea29dc77f7bff5509cbf7fe935ede">XV_HdmiTx_DdcWrite()</a>.</p>

</div>
</div>
<a id="a852ea29dc77f7bff5509cbf7fe935ede"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a852ea29dc77f7bff5509cbf7fe935ede">&#9670;&nbsp;</a></span>XV_HdmiTx_DdcWrite()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_DdcWrite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Slave</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>Buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Stop</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function writes data from DDC peripheral from given slave address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance. </td></tr>
    <tr><td class="paramname">Slave</td><td>specifies the slave address from where data needs to be read. </td></tr>
    <tr><td class="paramname">Length</td><td>specifies number of bytes to be read. </td></tr>
    <tr><td class="paramname">Buffer</td><td>specifies a pointer to u8 variable that will be filled with data. </td></tr>
    <tr><td class="paramname">Stop</td><td>specifies the stop flag which is either TRUE/FALSE.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if an acknowledgement received and timeout.</li>
<li>XST_FAILURE if no acknowledgement received.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xv__hdmitx__hw_8h.html#a17aefbf8e9a56021a1fa7321fca45995">XV_HDMITX_DDC_CMD_STP_TOKEN</a>, <a class="el" href="xv__hdmitx__hw_8h.html#ab6901facaddc25fe1f07d0eee6e65908">XV_HDMITX_DDC_CMD_STR_TOKEN</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a0a3e0ff5b586f637f7ce58e37e76a0d4">XV_HDMITX_DDC_CMD_WR_TOKEN</a>, <a class="el" href="xv__hdmitx_8h.html#aa1a91d9e6514be7735a8c4f1e9500118">XV_HdmiTx_DdcDisable</a>, <a class="el" href="xv__hdmitx_8h.html#a0e54ac33c2fe76e4b8fa8c3b79b81bf3">XV_HdmiTx_DdcEnable</a>, <a class="el" href="xv__hdmitx_8c.html#abdb511167dc499eacf28789225e83a24">XV_HdmiTx_DdcGetAck()</a>, <a class="el" href="xv__hdmitx_8h.html#a198784a6298da2d72cad4daffec76a2f">XV_HdmiTx_DdcIntrDisable</a>, <a class="el" href="xv__hdmitx_8c.html#ace17bdbb13a83051c81e70162707c1bb">XV_HdmiTx_DdcWaitForDone()</a>, and <a class="el" href="xv__hdmitx_8c.html#a4e0fa58d0c4b103aaa0493f875b7a8fb">XV_HdmiTx_DdcWriteCommand()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#a18857793bd92eafef197b339cf1f956e">XV_HdmiTx_ClockRatio()</a>, <a class="el" href="xv__hdmitx_8h.html#afe6f171ef3d393c4653b17837c5a105a">XV_HdmiTx_DetectHdmi20()</a>, <a class="el" href="xv__hdmitx_8h.html#a588fe097262642349aa193a0665ff81f">XV_HdmiTx_Scrambler()</a>, and <a class="el" href="xv__hdmitx_8h.html#a03c54fa48f7cb4690a3bf5446a4d5d85">XV_HdmiTx_ShowSCDC()</a>.</p>

</div>
</div>
<a id="a4e0fa58d0c4b103aaa0493f875b7a8fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e0fa58d0c4b103aaa0493f875b7a8fb">&#9670;&nbsp;</a></span>XV_HdmiTx_DdcWriteCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_DdcWriteCommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Cmd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function writes data into the command fifo. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___config.html#aed2a0eebe95b28c31ac48848df2a32bc">XV_HdmiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a7c08db92f62ad7f28dfdfac3561978db">XV_HdmiTx::Config</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a7356d56189f12a10c6f79a97012e3882">XV_HDMITX_DDC_CMD_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#afaed19df9105685cea7b51363e5aab38">XV_HDMITX_DDC_CTRL_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a25f1a215971c5370677b19e3b9f16bf2">XV_HDMITX_DDC_CTRL_RUN_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a108fb0a980dd01604d286d675f001a21">XV_HDMITX_DDC_STA_CMD_FULL</a>, <a class="el" href="xv__hdmitx__hw_8h.html#add689faff8e7c346c9d8202355678a22">XV_HDMITX_DDC_STA_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a41b837de9bdbba60a15baa46362dd851">XV_HdmiTx_ReadReg</a>, and <a class="el" href="xv__hdmitx__hw_8h.html#a3b74e3c052543284012c23ec717af9d1">XV_HdmiTx_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#a09f62badd2afc029e5e4967644a37e5f">XV_HdmiTx_DdcRead()</a>, and <a class="el" href="xv__hdmitx_8h.html#a852ea29dc77f7bff5509cbf7fe935ede">XV_HdmiTx_DdcWrite()</a>.</p>

</div>
</div>
<a id="a0b2224de9eedafa13c184cb0d680f891"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b2224de9eedafa13c184cb0d680f891">&#9670;&nbsp;</a></span>XV_HdmiTx_DebugInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_DebugInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints stream and timing information on STDIO/Uart console. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, and <a class="el" href="struct_x_v___hdmi_tx___stream.html#aed13920c568f0a6101fe97e5a0ce981a">XV_HdmiTx_Stream::Video</a>.</p>

</div>
</div>
<a id="afe6f171ef3d393c4653b17837c5a105a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe6f171ef3d393c4653b17837c5a105a">&#9670;&nbsp;</a></span>XV_HdmiTx_DetectHdmi20()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_DetectHdmi20 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function detects connected sink is a HDMI 2.0/HDMI 1.4 sink device and sets appropriate flag in the TX stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if HDMI 2.0</li>
<li>XST_FAILURE if HDMI 1.4</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___stream.html#aff6cb4519db331ab7336ae75c2cc56b8">XV_HdmiTx_Stream::IsHdmi20</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, and <a class="el" href="xv__hdmitx_8c.html#a852ea29dc77f7bff5509cbf7fe935ede">XV_HdmiTx_DdcWrite()</a>.</p>

</div>
</div>
<a id="a7380f59f3609455c91e7090b7fde1504"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7380f59f3609455c91e7090b7fde1504">&#9670;&nbsp;</a></span>XV_HdmiTx_IsStreamConnected()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_IsStreamConnected </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function provides the stream connected status. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE = Stream is connected.</li>
<li>FALSE = Stream is connected.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___stream.html#a4239c08cfef43b6efe597fdb6c501c8d">XV_HdmiTx_Stream::IsConnected</a>, and <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>.</p>

</div>
</div>
<a id="aa1b9824b19f5af7b841f52d797a3b0fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1b9824b19f5af7b841f52d797a3b0fc">&#9670;&nbsp;</a></span>XV_HdmiTx_IsStreamScrambled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_IsStreamScrambled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function provides status of the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE = Scrambled.</li>
<li>FALSE = Not scrambled.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___stream.html#ae9ca6e199b3a6729a3a0db9cb6e43bbd">XV_HdmiTx_Stream::IsScrambled</a>, and <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>.</p>

</div>
</div>
<a id="a748570ddedd1b3abe8f546d090b76197"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a748570ddedd1b3abe8f546d090b76197">&#9670;&nbsp;</a></span>XV_HdmiTx_LookupVic()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XV_HdmiTx_LookupVic </td>
          <td>(</td>
          <td class="paramtype">XVidC_VideoMode&#160;</td>
          <td class="paramname"><em>VideoMode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function provides video identification code of video mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VideoMode</td><td>specifies resolution identifier.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Video identification code defined in the VIC table.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#ae42733f7ec1fcf5df4f6d537b588bab6">XV_HdmiTx_SetStream()</a>.</p>

</div>
</div>
<a id="a588fe097262642349aa193a0665ff81f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a588fe097262642349aa193a0665ff81f">&#9670;&nbsp;</a></span>XV_HdmiTx_Scrambler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_Scrambler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function controls the scrambler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if HDMI 2.0</li>
<li>XST_FAILURE if HDMI 1.4</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___stream.html#aff6cb4519db331ab7336ae75c2cc56b8">XV_HdmiTx_Stream::IsHdmi20</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#ae9ca6e199b3a6729a3a0db9cb6e43bbd">XV_HdmiTx_Stream::IsScrambled</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, <a class="el" href="xv__hdmitx_8c.html#a09f62badd2afc029e5e4967644a37e5f">XV_HdmiTx_DdcRead()</a>, <a class="el" href="xv__hdmitx_8c.html#a852ea29dc77f7bff5509cbf7fe935ede">XV_HdmiTx_DdcWrite()</a>, and <a class="el" href="xv__hdmitx_8h.html#a6da173e33b955815176fd5640f7a1fbf">XV_HdmiTx_SetScrambler</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#ae42733f7ec1fcf5df4f6d537b588bab6">XV_HdmiTx_SetStream()</a>.</p>

</div>
</div>
<a id="a32872739c2a5ea02cf92aadc79aa385f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32872739c2a5ea02cf92aadc79aa385f">&#9670;&nbsp;</a></span>XV_HdmiTx_SetAudioChannels()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_HdmiTx_SetAudioChannels </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the active audio channels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if active channels were set.</li>
<li>XST_FAILURE if no active channles were set.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xv__hdmitx__hw_8h.html#a224d3ce0b2fa5396ac35464ab51e18c0">XV_HDMITX_AUD_CTRL_CH_SHIFT</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a487977b6c692a3cabd9708d199cc6fde">XV_HDMITX_AUD_CTRL_CLR_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a1f37ae939243ded094b88763c8fbcc76">XV_HDMITX_AUD_CTRL_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a72bdef52359446483eab0a4b6886ba34">XV_HDMITX_AUD_CTRL_RUN_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a0657ebf695c90d411c0ecd63aed71d96">XV_HDMITX_AUD_CTRL_SET_OFFSET</a>, and <a class="el" href="xv__hdmitx__hw_8h.html#a3b74e3c052543284012c23ec717af9d1">XV_HdmiTx_WriteReg</a>.</p>

</div>
</div>
<a id="a0fed91323d21a830029d3cb79af7afeb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fed91323d21a830029d3cb79af7afeb">&#9670;&nbsp;</a></span>XV_HdmiTx_SetAxiClkFreq()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_SetAxiClkFreq </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ClkFreq</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the AXI4-Lite Clock Frequency. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance. </td></tr>
    <tr><td class="paramname">ClkFreq</td><td>specifies the value that needs to be set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This is required after a reset or init. </dd></dl>

<p class="reference">References <a class="el" href="xv__hdmitx_8c.html#a3fe50d870f063d85a274d2cbe9dee549">XV_HdmiTx_DdcInit()</a>.</p>

</div>
</div>
<a id="a9271b92c3193e1ce46a2b610080c6f06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9271b92c3193e1ce46a2b610080c6f06">&#9670;&nbsp;</a></span>XV_HdmiTx_SetColorDepth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_SetColorDepth </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the color depth. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___config.html#aed2a0eebe95b28c31ac48848df2a32bc">XV_HdmiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a7c08db92f62ad7f28dfdfac3561978db">XV_HdmiTx::Config</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#aed13920c568f0a6101fe97e5a0ce981a">XV_HdmiTx_Stream::Video</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a564d1abff6cb04057811a461cfbcb692">XV_HDMITX_PIO_OUT_COLOR_DEPTH_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#aa3936d875363ae229e89ab0d93005173">XV_HDMITX_PIO_OUT_COLOR_DEPTH_SHIFT</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a3aec0a8a571c50309c582ac0a3a66cda">XV_HDMITX_PIO_OUT_MSK_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a73655a77916a05b7d8f82a921f15f7be">XV_HDMITX_PIO_OUT_OFFSET</a>, and <a class="el" href="xv__hdmitx__hw_8h.html#a3b74e3c052543284012c23ec717af9d1">XV_HdmiTx_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#ae42733f7ec1fcf5df4f6d537b588bab6">XV_HdmiTx_SetStream()</a>.</p>

</div>
</div>
<a id="aa8eb6378fdb4a48a22fdedb89cc3702a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8eb6378fdb4a48a22fdedb89cc3702a">&#9670;&nbsp;</a></span>XV_HdmiTx_SetColorFormat()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_SetColorFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the color format. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___config.html#aed2a0eebe95b28c31ac48848df2a32bc">XV_HdmiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a7c08db92f62ad7f28dfdfac3561978db">XV_HdmiTx::Config</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#aed13920c568f0a6101fe97e5a0ce981a">XV_HdmiTx_Stream::Video</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a461cc5f1205b18c92863bbd3042540b7">XV_HDMITX_PIO_OUT_COLOR_SPACE_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#ac01a89ba24d5a2044caa1377a5aea7aa">XV_HDMITX_PIO_OUT_COLOR_SPACE_SHIFT</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a3aec0a8a571c50309c582ac0a3a66cda">XV_HDMITX_PIO_OUT_MSK_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a73655a77916a05b7d8f82a921f15f7be">XV_HDMITX_PIO_OUT_OFFSET</a>, and <a class="el" href="xv__hdmitx__hw_8h.html#a3b74e3c052543284012c23ec717af9d1">XV_HdmiTx_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#ae42733f7ec1fcf5df4f6d537b588bab6">XV_HdmiTx_SetStream()</a>.</p>

</div>
</div>
<a id="a6dc5aa725b963236382283b2c4810dc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6dc5aa725b963236382283b2c4810dc1">&#9670;&nbsp;</a></span>XV_HdmiTx_SetDviMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_SetDviMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the core into DVI mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This is required after a reset or init. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___stream.html#a094b972b5add25f8189946125ee5de37">XV_HdmiTx_Stream::IsHdmi</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, <a class="el" href="xv__hdmitx_8h.html#ab0d38d78bc8117d38c039d743892eeab">XV_HdmiTx_AudioDisable</a>, <a class="el" href="xv__hdmitx_8h.html#a444350a902159b2592e1dfaebd38a518">XV_HdmiTx_AuxDisable</a>, and <a class="el" href="xv__hdmitx_8h.html#a6946144662c8bcaeccbedc447dec7df4">XV_HdmiTx_ClearMode</a>.</p>

</div>
</div>
<a id="ab5d2bcd25ed4a775b87e716ad8d2a8d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5d2bcd25ed4a775b87e716ad8d2a8d6">&#9670;&nbsp;</a></span>XV_HdmiTx_SetHdmiMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_SetHdmiMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the core into HDMI mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This is required after a reset or init. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___stream.html#a094b972b5add25f8189946125ee5de37">XV_HdmiTx_Stream::IsHdmi</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, and <a class="el" href="xv__hdmitx_8h.html#ab80fe1804de9125b96892b3fb9e41776">XV_HdmiTx_SetMode</a>.</p>

</div>
</div>
<a id="abe6e4feed643a46f8c5a09494d2e2874"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe6e4feed643a46f8c5a09494d2e2874">&#9670;&nbsp;</a></span>XV_HdmiTx_SetPixelRate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_SetPixelRate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the pixel rate at output. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___config.html#aed2a0eebe95b28c31ac48848df2a32bc">XV_HdmiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a7c08db92f62ad7f28dfdfac3561978db">XV_HdmiTx::Config</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#aed13920c568f0a6101fe97e5a0ce981a">XV_HdmiTx_Stream::Video</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a3aec0a8a571c50309c582ac0a3a66cda">XV_HDMITX_PIO_OUT_MSK_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a73655a77916a05b7d8f82a921f15f7be">XV_HDMITX_PIO_OUT_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a92829fb1e590c09d7cb030093ed38ba3">XV_HDMITX_PIO_OUT_PIXEL_RATE_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#ad507e1024a352cdf174c99ade627b5fb">XV_HDMITX_PIO_OUT_PIXEL_RATE_SHIFT</a>, and <a class="el" href="xv__hdmitx__hw_8h.html#a3b74e3c052543284012c23ec717af9d1">XV_HdmiTx_WriteReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xv__hdmitx_8h.html#ae42733f7ec1fcf5df4f6d537b588bab6">XV_HdmiTx_SetStream()</a>.</p>

</div>
</div>
<a id="abb0cde0fed5637779f430ca6eb2a9199"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb0cde0fed5637779f430ca6eb2a9199">&#9670;&nbsp;</a></span>XV_HdmiTx_SetSampleRate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_SetSampleRate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>SampleRate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the sample rate at output. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance. </td></tr>
    <tr><td class="paramname">SampleRate</td><td>specifies the value that needs to be set.<ul>
<li>3 samples per clock.</li>
<li>5 samples per clock.</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___config.html#aed2a0eebe95b28c31ac48848df2a32bc">XV_HdmiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a7c08db92f62ad7f28dfdfac3561978db">XV_HdmiTx::Config</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#ac287f6a3125047a10f32e6ca8b7a58eb">XV_HdmiTx_Stream::SampleRate</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a3aec0a8a571c50309c582ac0a3a66cda">XV_HDMITX_PIO_OUT_MSK_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#a73655a77916a05b7d8f82a921f15f7be">XV_HDMITX_PIO_OUT_OFFSET</a>, <a class="el" href="xv__hdmitx__hw_8h.html#ad69a761dfc73ee26434f08f27c83dcdf">XV_HDMITX_PIO_OUT_SAMPLE_RATE_MASK</a>, <a class="el" href="xv__hdmitx__hw_8h.html#ae81b504f82f4bb53a7f6340c91b722f5">XV_HDMITX_PIO_OUT_SAMPLE_RATE_SHIFT</a>, and <a class="el" href="xv__hdmitx__hw_8h.html#a3b74e3c052543284012c23ec717af9d1">XV_HdmiTx_WriteReg</a>.</p>

</div>
</div>
<a id="ae42733f7ec1fcf5df4f6d537b588bab6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae42733f7ec1fcf5df4f6d537b588bab6">&#9670;&nbsp;</a></span>XV_HdmiTx_SetStream()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XV_HdmiTx_SetStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_VideoMode&#160;</td>
          <td class="paramname"><em>VideoMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_ColorFormat&#160;</td>
          <td class="paramname"><em>ColorFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_ColorDepth&#160;</td>
          <td class="paramname"><em>Bpc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_PixelsPerClock&#160;</td>
          <td class="paramname"><em>Ppc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_3DInfo *&#160;</td>
          <td class="paramname"><em>Info3D</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the HDMI TX stream parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance. </td></tr>
    <tr><td class="paramname">VideoMode</td><td>specifies resolution identifier. </td></tr>
    <tr><td class="paramname">ColorFormat</td><td>specifies the type of color format.<ul>
<li>0 = XVIDC_CSF_RGB</li>
<li>1 = XVIDC_CSF_YCRCB_444</li>
<li>2 = XVIDC_CSF_YCRCB_422</li>
<li>3 = XVIDC_CSF_YCRCB_420 </li>
</ul>
</td></tr>
    <tr><td class="paramname">Bpc</td><td>specifies the color depth/bits per color component.<ul>
<li>6 = XVIDC_BPC_6</li>
<li>8 = XVIDC_BPC_8</li>
<li>10 = XVIDC_BPC_10</li>
<li>12 = XVIDC_BPC_12</li>
<li>16 = XVIDC_BPC_16 </li>
</ul>
</td></tr>
    <tr><td class="paramname">Ppc</td><td>specifies the pixel per clock.<ul>
<li>1 = XVIDC_PPC_1</li>
<li>2 = XVIDC_PPC_2</li>
<li>4 = XVIDC_PPC_4</li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TmdsClock, reference clock calculated based on the input parameters.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>
<p>In HDMI the colordepth in YUV422 is always 12 bits, although on the link itself it is being transmitted as 8-bits. Therefore if the colorspace is YUV422, then force the colordepth to 12 bits. </p>

<p class="reference">References <a class="el" href="struct_x_v___hdmi_tx___stream.html#aff6cb4519db331ab7336ae75c2cc56b8">XV_HdmiTx_Stream::IsHdmi20</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#ae9ca6e199b3a6729a3a0db9cb6e43bbd">XV_HdmiTx_Stream::IsScrambled</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#ac40b3c4cd28b83852edc439caf9f7a44">XV_HdmiTx_Stream::PixelClk</a>, <a class="el" href="struct_x_v___hdmi_tx.html#a0f92bb0204c62c0fc3402f018c062e40">XV_HdmiTx::Stream</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#a498466feabb81f3368b723a8104159d0">XV_HdmiTx_Stream::TMDSClock</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#a2a32c654d0ab9b88f4d19c4985fae1f6">XV_HdmiTx_Stream::TMDSClockRatio</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#ab3d63314205b73121885a6da80cfe7cf">XV_HdmiTx_Stream::Vic</a>, <a class="el" href="struct_x_v___hdmi_tx___stream.html#aed13920c568f0a6101fe97e5a0ce981a">XV_HdmiTx_Stream::Video</a>, <a class="el" href="xv__hdmitx_8c.html#a18857793bd92eafef197b339cf1f956e">XV_HdmiTx_ClockRatio()</a>, <a class="el" href="xv__hdmitx_8c.html#a748570ddedd1b3abe8f546d090b76197">XV_HdmiTx_LookupVic()</a>, <a class="el" href="xv__hdmitx_8c.html#a588fe097262642349aa193a0665ff81f">XV_HdmiTx_Scrambler()</a>, <a class="el" href="xv__hdmitx_8c.html#a9271b92c3193e1ce46a2b610080c6f06">XV_HdmiTx_SetColorDepth()</a>, <a class="el" href="xv__hdmitx_8c.html#aa8eb6378fdb4a48a22fdedb89cc3702a">XV_HdmiTx_SetColorFormat()</a>, and <a class="el" href="xv__hdmitx_8c.html#abe6e4feed643a46f8c5a09494d2e2874">XV_HdmiTx_SetPixelRate()</a>.</p>

</div>
</div>
<a id="a03c54fa48f7cb4690a3bf5446a4d5d85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03c54fa48f7cb4690a3bf5446a4d5d85">&#9670;&nbsp;</a></span>XV_HdmiTx_ShowSCDC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_HdmiTx_ShowSCDC </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___hdmi_tx.html">XV_HdmiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function shows the sinks SCDC registers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___hdmi_tx.html" title="The XV_HdmiTx driver instance data. ">XV_HdmiTx</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xv__hdmitx_8c.html#a09f62badd2afc029e5e4967644a37e5f">XV_HdmiTx_DdcRead()</a>, and <a class="el" href="xv__hdmitx_8c.html#a852ea29dc77f7bff5509cbf7fe935ede">XV_HdmiTx_DdcWrite()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
